package dancespeedymodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceCityModel 城池模板表
type DanceCityModel struct {
	Id            int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	ModelNo       int64          `json:"modelNo" gorm:"column:model_no;type:bigint;default:0;not null;comment:模版编号"`
	CityStamina   int            `json:"cityStamina" gorm:"column:city_stamina;type:bigint;default:0;not null;comment:每分钟消耗的体力值"`
	ApElementNum  int64          `json:"apElementNum" gorm:"column:ap_element_num;type:bigint;default:0;not null;comment:每小时消耗体力丹数量"`
	SpeedyCardNum int64          `json:"speedyCardNum" gorm:"column:speedy_card_num;type:bigint;default:0;not null;comment:每小时消耗扫荡卡数量"`
	CityAtk       int64          `json:"cityAtk" gorm:"column:city_atk;type:bigint;default:0;not null;comment:挂机需要战力值"`
	CreatedId     int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`
	UpdateId      int64          `json:"update_id" gorm:"column:update_id;type:bigint;default:0;not null;comment:更新人id"`
	CreatedAt     time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt     time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt     gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
